<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>机柜管理 </title>
<@fm.header />
<script type="text/javascript" src="/resources/js/common.js"></script>
<script type="text/javascript" src="/resources/js/qyChannelCabinetConfig/qyChannelCabinetConfig.js"></script>
</head>
<body class="cmp-list-body">
<div id="tb" style="padding:3px">
    <span>机柜</span>
	<input id="slocationId" class="easyui-textbox" style="width: 155px;" name="location"/>
	<span>IP段</span>
	<input id="sipSectionId" class="easyui-textbox" style="width: 155px;" name="ipSection"/>
	
    <a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch();">查询</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doAdd();">新增</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doEdit();">修改</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doDel();">删除</a>
</div>
<table id="tt" title="机柜管理"
	 toolbar="#tb" rownumbers="true" idField="id"
	singleSelect="true"   pagination="true" fitColumns="true" pageSize="15" pageList="[15,30,60,80,100]">  
    <thead>
        <tr>
            <th align="center" width="10%" field="location">机柜名称</th>
		    <th align="center" width="30%" field="ipSection">IP段</th>
		    <th align="center" width="10%" field="modifyTime">更新时间</th>
        </tr>
    </thead>   
</table>

<div id="addWin" class="easyui-window" title="机柜管理|新增修改" closed="true" collapsible="false" minimizable="false"  maximizable="false" style="width:500px;height:250px"   
        data-options="iconCls:'icon-save',modal:true">
     <div fit="true">
        <form id="addForm"  method="post" enctype="multipart/form-data">
            <input type="hidden" id="idId"  name="id" />   
           <table>
               
               <tr>
                   <td align="left">机柜名称</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="location" type="text" id="locationId" data-options="required:true" style="width:300px;">
                   </td>
               </tr>
               <tr>
                   <td align="left">IP段</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="ipSection" type="text" id="ipSectionId" data-options="required:true" style="width:300px;">
                   </td>
               </tr>
           </table>
        </form>
        <div style="padding: 25px; text-align: center;">
            <a href="#" class="easyui-linkbutton" onclick="cancel();">取消</a>
            <a href="#" class="easyui-linkbutton"  onclick="save();">保存</a> 
        </div>
    </div>
</div>

</body>
</html>